package com.zjl.spring.enums;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 删除枚举值
 *
 * @Auther: zhuangjl
 * @Date: 2021/11/10 19:02
 */
public enum DeleteEnums {

    DELETE(1, "删除"),
    NOT_DELETE(0, "不删除");
    private final Integer value;

    private final String name;

    DeleteEnums(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
